﻿/* ~~~~~~~~~~~~~~~~~~~~~~ Text & Global Classes ~~~~~~~~~~~~~~~~~~~~~~ */
.clear {
	clear: both;
	height: 0 !important;
	width: 100%;
}

h2 {
    margin-top: 1.5em;
}

.panel h2 {
    margin-top: 0;
}
.intro {
    p {
        font-size: 1.4em;
        line-height: 1.7em;
    }
}

legend {
    display: none;
}

.displaynone {
    display: none;
}

input[type="text"].noBorder {
    border: hidden;
    padding: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.sizeOfH1 {
    font-weight: normal;
}

.bigheading {
    font-size: 2.0em;
    font-weight: normal;
}

.nowrap {
    white-space: nowrap;
}

.custom-hide-from-mobile {
    @media (max-width: 599px) {
        display: none;
    }
}

.custom-mobile-only {
    @media (min-width: 600px) {
        display: none;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~ Tables ~~~~~~~~~~~~~~~~~~~~ */
table {
    margin-bottom: 2.0em;
}

table caption {
    margin: auto;
    font-size: 1.0em;
}

@media (max-width: 899px) {
    table td, table th {
        padding: .7em 10px;
        font-size: 0.8em !important;
    }

    table.winkelwagen td, table.winkelwagen th {
        font-size: 0.7em !important;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~ Shopping cart ~~~~~~~~~~~~~~~~~~~~ */

.custom-width {
    img {
        display: block;
        width: 50px;
        @media (min-width: 600px) {
            width: 100px;
        }
    }
}

.custom-remove-icon {
    a {
        width: 30px;
        height: 30px;
        overflow: hidden;
        display: block;
        text-indent: 120%;
        white-space: nowrap;
        background: transparent url('../img/delete.png') no-repeat 50% 15%;
        background-size: 20px;
    }
}

.custom-cart-info {
    fieldset {
        border: none !important;
        margin: 0;
        padding: 0;
    }
}

.wwtot {
    caption {
        font-weight: bold;
    }

    td, th {
        font-weight: normal;

        &.bold {
            font-weight: bold !important;
        }
    }
}

/* ~~~~~~~~~~~~~~~~~~~~ Navigation menus ~~~~~~~~~~~~~~~~~~~~ */

//main nav.
.nav-main {
    z-index: 11;

    .active {
        .mega-dropdown {
            .nav-nodes {
                .active {
                    font-weight: bold;
                }
            }

            .nav-aside {

                > .pages > li > a {
                    display: none;
                }

                .active {
                    font-weight: bold;
                }

                ul ul {

                    li {
                        padding: 0;

                        a {
                            padding: 0.4em 0;
                        }
                    }

                    ul {
                        padding-left: 15px;
                        padding-bottom: 0;

                        li {
                            margin: 0;
                            padding: 0;

                            a {
                                font-size: 0.8em;
                                padding: 0.4em;
                            }
                        }
                    }
                }
            }
        }
    }
}

// Quick Search and Shopping cart icon.
.custom-shortcuts {
    float: right;
    padding: 9px 6px 0 0;
    display: none;
    position: relative;

    @media (min-width:900px) {
        display: block;
    }

    a {
        display: block;
        width: 45px;
        height: 45px;
        position: absolute;
        top: 0;
        color: #222;
        line-height: 44px;
        text-decoration: none !important;
        white-space:nowrap;
    }
}

// Shopping cart icon.
.custom-shortcut-shoppingcart {
    right: 60px;
    text-align: right;
    width: 60px;
    display: none;

    span {
        display: inline-block;
        vertical-align: middle;
        width: 24px;
        height: 24px;
        overflow: hidden;
        white-space: nowrap;
        text-indent: 120%;
        background: transparent url('../img/shoppingcart.png') no-repeat center top;
        background-size: 20px;
    }
}

// Search icon.
.custom-shortcut-search  {
    margin: 0 auto;
    text-align: center;
    right: 0;

    .icon-search {
        &:before {
            font-size: 17px;
            line-height: 18px;
        }
    }
}

 @media (max-width:899px) {
    .site-nav {
        .custom-shortcut-shoppingcart  {
            float: right;
            display: block;
            position: absolute;
            right: 45px; top:0;
            width: 60px !important;
        }
    }
}

// Sub menu.
.site-subnav {
    a {
        padding: 0.2em 0; // less space between the items.
        //color: #222 !important;
        font-size: 1.1em !important;

        &:before {
            //color: #d5d3d3 !important;
        }
    }

    ul {
        border: none !important;

        ul {
            li {
                padding: 0.2em 0;
                margin: 0;
            }

            ul {
                margin-top: -0.4em;
                margin-bottom: 0.4em;

                li {
                    padding: 0;
                    margin: 0;

                    a {
                        padding: 0;
                        font-size: 0.9em !important;
                        color: #666 !important;

                        &:before {
                            display: none !important;
                        }
                    }
                }
            }
        }
    }

    .site-breadcrumbs {
        //display: block;
    }
}

// Mobile '#path' navigation.
#path {
    .active {
        font-weight: bold;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~ Sidebar / "Filmstrip" ~~~~~~~~~~~~~~~~~~~~ */

// Aside.
.custom-aside {
    position: relative;
    z-index: 1337;
    font-size: .9em;
    margin: 1.5em 0;
    float: right;
    width: 16%;
    display: none;

    @media (min-width: 1200px) {
        display: block;
    }
}

//Filmstrip. (demo pics aside)
.filmstrip {
    margin: 0;
    padding: 0;
    list-style: none;
    background: none;
    display: none;

    @media (min-width: 700px) {
        display: block;
    }

    li {
        margin: 0;
        padding: 0;
        list-style: none;
        background: none;

        &:before, &:after {
            display: none;
        }

        img {
            width: 94%;
        }
    }
}

/* ~~~~~~~~~~~~~~~~~~~~ Search Page ~~~~~~~~~~~~~~~~~~~~ */

#searchpage {
    border-top: solid 6px #f7f6f4;

    // Margin for bottom pagination 
    > .divshowing .paginas {
        margin-bottom: 30px;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~ Search Results Grid ~~~~~~~~~~~~~~~~~~~~ */

// Photo grid
.weergavefoto {
    text-align: center;
    width: 101%;
    padding-bottom: 5px;

    &:after {
        content: "";
        display: table;
        clear: both;
    }

    .weergavefoto {
        width: 100%;
        font-size: 1.0em;
        float: left;

        @media (min-width: 420px) {
            width: 48%;
            padding-right: 2%;
            font-size: 0.8em;
        }

        @media (min-width: 500px) {
            width: 24%;
            padding-right: 1%;
            font-size: 0.7em;
        }

        &:after {
            content: "";
            display: none;
            clear: none;
        }

        a {
            display: block;
        }

        img {
            width: 100%;
        }

        div {
            a, img {
                display: inline-block;
                width: auto;
                height: auto;
                position: static;
                left: auto;
                right: auto;
                top: auto;
                bottom: auto;
            }
        }
    }
}

&.displayMode3 {
    .weergavefoto {
        .weergavefoto {
            width: 23%;
            padding-right: 2%;

            @media (min-width: 450px) {
                width: 11%;
                padding-right: 1.5%;
            }
        }
    }
}

.lijstlinks {
    width: 100%;
    border-bottom: solid 2px #f7f6f4;
    margin-top: 20px;

    &:after {
        content: "";
        display: table;
        clear: both;
    }

    .lijstlinks {
        float: left;
        width: 28%;
        min-height: 30px;
        margin-right: 2%;
        border-bottom: none;
        margin-top: 0;

        img {
            display: block;
            width: 100%;
            margin-bottom: 20px;
        }

        &:after {
            content: "";
            display: none;
            clear: none;
        }
    }
}

.lijstweergave {
    width: 60%;
    float: left;
    margin-bottom: 20px;
    min-height: 30px;

    &:after {
        content: "";
        display: table;
        clear: both;
    }

    .lijsttitel, .lijstdata {
        font-size: 0.9em;
        line-height: 1.2em;
    }

    .lijsttitel {
        white-space: nowrap;
    }

    .lijstdata {
        margin-bottom: 10px;
    }

    @media (min-width: 900px) {
        .lijsttitel, .lijstdata {
            float: left;
            font-size: 0.8em;
            line-height: 1.3em;
            min-height: 10px;
        }

        .lijsttitel {
            width: 25%;
        }

        .lijstdata {
            width: 75%;
            margin-bottom: 5px;
        }
    }
}

/* ~~~~~~~~~~~~~~~~~~~~ Search Form ~~~~~~~~~~~~~~~~~~~~ */

.showright { // Admins only, div below search field
    .showright-content {
        margin: 15px 0 0 0;
        
        label {
            font-weight: normal;
            vertical-align: top;
            color: #666;
            font-size: 0.9em;
        }
    }
}

.ui-autocomplete {
    li {
        &:before {
            content: "";
            display: none;
        }
    }

    &.ui-widget-content  {
        background: #fff;
    }

    .ui-state-focus {
        color: #333 !important;;
        background: #eee !important;
        border-color: #eee !important;
    }
}

.custom-search {
    position: relative;

    fieldset {
        border: none;
        padding-bottom: 0 !important;
        margin: 0 !important;

        legend {
            display: none;
        }
    }

    label {
        font-weight: bold;
        //display: block !important;
        //width: 100% !important;
    }

    .divshowing {
        &:after {
            content: "";
            display: table;
            clear: both;
        }
    }

    #searchBox {
        width: 100%;
        height: 2.5em;
        vertical-align: middle;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        background: #fff;
        border: solid 1px #9c9c9c;
        padding: 3px 7px;
        margin: 3px 0;
        font: 0.9rem "RijksoverheidSansText",Verdana,Arial,sans-serif;
        line-height: 2rem;
        -moz-box-shadow: 1px 1px 3px rgba(102,102,102,0.1) inset;
        -webkit-box-shadow: 1px 1px 3px rgba(102,102,102,0.1) inset;
        box-shadow: 1px 1px 3px rgba(102,102,102,0.1) inset;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        max-width: 100%;

        @media (min-width: 900px) {
            width: 80%;
        }
    }

    .searchbutton {
        background: #0b76b2;
        color: white;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        border: none;
        padding: 5px 10px;
        margin: 4px 0;
        min-height: 20px;
        font: bold 1.1em/1.4em "RijksoverheidSansText",Verdana,Arial,sans-serif;
        text-decoration: none;
        text-shadow: none;
        cursor: pointer;
        display: -moz-inline-stack;
        display: inline-block;
        vertical-align: middle;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;

        @media (min-width: 900px) {
            margin-left: 15px;
        }
    }

    .custom-help {
        float: right;

        img {
            vertical-align: bottom;
        }
    }
    /* ~~~~~~~~~~~~~~~~~~~~ Search Filters ~~~~~~~~~~~~~~~~~~~~ */
    #customMobileFacetToggle {
        display: block;
        //text-decoration: underline;
        margin: 20px 0 10px 0;
        padding: 0 0 0 20px;
        cursor: pointer;
        font-size: 0.9em;
        background: transparent url('../img/filter.png') no-repeat 0 49%;
        background-size: 15px;

        @media (min-width: 600px) {
            display: none;
        }
    }

    #facetContainer {
        display: none;
        padding: 10px;
        margin: 0 0 20px 0;
        border: solid 1px #ccc;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        font-size: 0.9em;


        a {
            color: #666;
        }

        @media (min-width: 600px) {
            display: block !important;
            display: table !important;
            width: 100%;
            padding: 0;
            margin: 15px 0 0 0;
            border: none;
            -moz-border-radius: 0;
            -webkit-border-radius: 0;
            border-radius: 0;
            padding-bottom: 25px;
            margin-bottom: 10px;
            border-bottom: solid 6px #f7f6f4;

            &:after {
                content: "";
                display: table;
                clear: both;
            }
        }

        label {
            font-weight: bold;
        }

        ul, ol {
            list-style: none;
            margin: 0;
            padding: 0;

            li {
                list-style: none;
                margin: 0;
                padding: 0;

                &:before, &:after {
                    content: "";
                    display: none;
                }
            }
        }

        #facetColumnType, #facetColumnYear, #facetColumnRegio, #facetColumnThema {
            margin-bottom: 20px;
        }

        @media (min-width: 600px) {
            #facetColumnType, #facetColumnYear, #facetColumnRegio, #facetColumnThema {
                //float: left;
                margin-bottom: 0;
                display: table-cell;
                padding-right: 30px;
            }
        }
    }

    .facetMoreContainer, .facetMoreContainerScroll, .facetMoreContainerScrollWide {
        height: 0;
        display: block;
        overflow: hidden;
        position: absolute;
        background-color: White;
        padding-left: 5px;
        padding-right: 5px;
        margin-top: -25px;
        margin-left: -3px;
    }

    .facetMoreContainer {
    }

    .facetMoreContainerScroll {
        width: 70px;
        overflow: auto;
        max-height: 550px;
    }

    .facetMoreContainerScrollWide {
        width: 190px;
        overflow: auto;
    }

    .facetdel {
        display: inline-block;

        a {
            float: left;
            display: block;
            font-size: 0.8em;
            color: #666;
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
            border-radius: 3px;
            padding: 4px 8px 4px 25px;
            margin: 0 5px 3px 0;
            background: #dbdbdb url('../img/close-white.png') no-repeat 7px center;
            background-size: 12px;

            &:hover {
                text-decoration: none;
                background-color: #d0d0d0;
                //color: #fff;
            }
        }
    }

    /* ~~~~~~~~~~~~~~~~~~~~ Search Sorting and pagination ~~~~~~~~~~~~~~~~~~~~ */
    #customMobileDisplayToggle {
        display: block;
        //text-decoration: underline;
        margin: 5px 0 10px 0;
        padding: 0 0 0 20px;
        cursor: pointer;
        font-size: 0.9em;
        background: transparent url('../img/eye.png') no-repeat 0 50%;
        background-size: 15px;

        @media (min-width: 600px) {
            display: none;
        }
    }

    #customDisplayOptions {
        display: none;
        padding: 10px;
        margin: 0 0 20px 0;
        border: solid 1px #ccc;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        font-size: 0.9em;

        @media (min-width: 600px) {
            display: block !important;
            padding: 0;
            margin: 10px 0 0 0;
            border: none;
            -moz-border-radius: 0;
            -webkit-border-radius: 0;
            border-radius: 0;
        }
    }

    .searchpagekolomfaceted {
        width: 65%;
        float: left;
        vertical-align: middle;

        p {
            margin: 0;
            padding: 0;
        }

        select {
            padding-top: 0.35em;
            color: #666;
            font-size: 0.9em;
        }

        .help-icon {
            vertical-align: middle;
            display: inline-block;
            margin: 0 0 0 2px;

            @media (min-width: 900px) {
                margin: 0 0 0 10px;
            }
        }
    }

    .paginas {
        width: 0;
        float: left;
        display: none;

        p {
            text-align: left;
        }
    }

    .weergave {
        width: 35%;
        float: right;
        text-align: right;
        padding: 6px 0 0 0;

        p {
            margin: 0;
            padding: 0;

            a {
                &:last-child {
                    display: none;

                    @media (min-width: 360px) {
                        display: inline;
                    }
                }
            }
        }
    }

    @media (min-width: 900px) {
        .searchpagekolomfaceted {
            width: 40%;
        }

        .paginas {
            width: 40%;
            display: block;
        }

        .weergave {
            width: 20%;
        }
    }
}

.paginas {
    p {
        margin: 0;
        padding: 8px 0 0 0;
        text-align: center;

        a {
            display: inline-block;
            padding: 0 1px;
            color: #666;
        }
    }
}

/* ~~~~~~~~~~~~~~~~~~~~ Details ~~~~~~~~~~~~~~~~~~~~ */

.page-title {
    h1.h1Compact {
        font-size: 2.0em;
    }
}

#detail {
    form {
        margin: 0;
        padding: 0;

        p {
            margin: 0;
            padding: 0;
        }
    }

    a.lightbox {
        display: block;
        width: 100%;

        img {
            display: block;
            width: 100%;
        }
    }

    fieldset {
        border-top: solid 6px #f7f6f4;
        border-bottom: solid 6px #f7f6f4 !important;
        margin-bottom: 1.5em;

        legend {
            display: none;
        }
    }

    .display-field {
        -ms-word-break: break-word;
        word-break: break-word;
    }

    input.volgendebutton {
        border: none;
        background-color: #FFF; 
        padding: 0;
        text-decoration: none;
        font-weight: normal;
        cursor: pointer;
        margin-right: 10px;
        display: inline-block;
        font-size: 0.9em;
        color: #666;

        &:hover {
            text-decoration: underline;
        }
    }

    .lijstlinks {
        display: inline-block;
        width: 14px;
        margin: 0;
        padding: 0;
        border: none;
        font-size: 0.9em;
    }
}

// Details data
.display-label, .editor-label {
	vertical-align: top;
	font-weight: bold;
}

.display-field, .editor-field { 
	
}

@media (min-width: 600px) {
    .display-label, .editor-label {
	    display: inline-block;
        margin: 0.5em 0;
        float: left;
        width: 35%;
    }

    .display-field, .editor-field { 
	    display: inline-block;
        margin: 0.5em 0;
        float: left;
        width: 65%;
    }
}

.display-field p {
	font-size: 100%;
}

.text-box {
	width: 30em;
}

.text-box.multi-line {
	height: 6.5em;
}

.tri-state {
	width: 6em;
}

// Details aside
#bestellen {
    fieldset {
        border-top: none !important;
        padding: 0 0 1.5em 0;
        @media (min-width: 450px) {
            background: #f7f6f4;
            border: solid 1px #ccc !important;
            padding: 1.5em;
        }
    }

    legend {
        display: none;
    }

    label[for="download"] {
        margin-top: 1px !important;

        a {
            font-size: 1.0em;
            background: transparent url('../img/download.png') no-repeat 2px 50%;
            background-size: 22px;
            display: inline-block;
            padding: 0.5em 0 0.5em 35px;
            font-weight: bold;

            @media (min-width: 600px) {
                font-size: 1.2em;
            }
        }
    }

    label {
        font-weight: bold;
        display: inline-block;
         margin-top: 10px;
    }

    .kiesbutton {
        display: inline-block;
        margin-left: 10px;
    }

    .bestelbutton {
        display: block;
        margin: 20px 0 0 0;
    }

    select {
        width: 70%;
        float: left;
    }

    input[type="text"] {
        width: 70%;
    }

    @media (min-width: 600px) {
        select {
            width: 50%;
            float: left;
        }

        input[type="text"] {
            width: 50%;
        }
    }

    h2 {
        font-size: 2.0em;
        font-weight: normal;
    }

    h3 {
        margin: 0;
        font-weight: normal;
        font-size: 1.0em;
    }

    p {
        margin: 0;

        &:after {
            content: "";
            display: table;
            clear: both;
        }
    }
}

#GPS {
    abbr {
        font-size: 100%;
    }
}


/* ~~~~~~~~~~~~~~~~~~~~ Forms ~~~~~~~~~~~~~~~~~~~~ */

#customShowHideReactionForm {
    display: inline-block;
    color: #0b76b2;
    padding: 0 0 0 24px;
    margin: 0.5em 0 1.5em 0;
    cursor: pointer;
    background: transparent url('../img/form-icon.png') no-repeat left center;
    background-size: 16px;
}

.mediaObjectDetailReaction {
    fieldset {
        border-top: none !important;
        margin-top: 0 !important;
    }
    input[type="submit"] {
        margin-left: 0;

        @media (min-width: 900px) {
            margin-left: 35%;
        }
    }
}

#register, .mediaObjectDetailReaction {

    form, fieldset, p {
        max-width: 100%;
    }
    
    form p {
        margin-bottom: 10px;

        &:after {
            content: "";
            display: table;
            clear: both; 
        }
    }

    fieldset {
        margin-top: 1.5em;
        margin-bottom: 0.5em;
        border-top: solid 6px #f7f6f4;
        border-bottom: solid 6px #f7f6f4;
    }

    label {
        display: block;
        font-weight: bold;
        padding-top: 7px;

        &[for="RememberMe"] {
            font-weight: normal;
            vertical-align: top;
            line-height: 1.6em;
            float: none !important;
            display: inline !important;
        }
    }

    input[type="text"], input[type="password"], textarea, select {
        width: 100%;

        @media (min-width: 900px) {
            width: 65%;
        }
    }

    #RememberMe {
        margin: 0;

        @media (min-width: 900px) {
            margin: 0 5px 0 35%;
        }
    }

    input[type="checkbox"] {
        display: inline-block !important;
        width: auto;
        margin-top: 10px;
    }

    input[type="submit"] {
        margin-top: 20px;
        width: auto;
    }

    @media (min-width: 900px) {
        label {
            display: block;
            width: 35%;
            float: left;
        }
    }
}

textarea.custom-full-textarea {
    width: 100% !important;
}

.button, .winkelbutton, .kiesbutton, .bestelbutton {
    background: #0b76b2;
    color: white;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    padding: 5px 15px;
    margin: 4px 0;
    min-height: 20px;
    font: bold 1.1em/1.4em "RijksoverheidSansText",Verdana,Arial,sans-serif;
    text-decoration: none;
    text-shadow: none;
    cursor: pointer;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.input-validation-error {
    border-color: red !important;
}
.field-validation-error {
    display: block;
    color: red;

    @media (min-width: 900px) {
        margin-left: 35%;
    }
}

.validation-summary-errors {
    color: red;
    margin: 20px 0 20px 0;
}

.ratings {
    margin-bottom: 30px;

    &:after {
        content: "";
        display: table;
        clear: both;
    }

    .rating-L {
        margin-top: 0;
    }
}

.field-validation-valid
{
	display: none;
}

.validation-summary-valid {
	display: none;
}

